<?php

namespace App\Http\Controllers\Api;

use App\Common\Sms\Sms;
use App\Events\OrderReceive;
use App\Models\Order;
use App\Models\User;
use App\Services\ChatService;
use App\Services\ConfigService;
use App\Services\LoginService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redis;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Facades\JWTAuth;

/**
 * 前台登录
 * Class LoginController
 * @package App\Http\Controllers\Api
 */
class TestController extends Controller
{
    public function index(){

        $orderId = 'LE1725873877465706';
        $order = Order::whereOrderId($orderId)->first();

        event(new OrderReceive($order));
    }
}
